﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using FwProject.ShoppingMall.Product;

namespace FwProject.Product.Dto
{
    /// <summary>
    /// 产品类别关联的产品规格
    /// </summary>
    [AutoMap(typeof(ProductTypeSpce))]
    public class ProductTypeSpceDto: EntityDto<Guid>
    {
        /// <summary>
        /// 规格Id
        /// </summary>
        public Guid SpceId { get; set; }
        /// <summary>
        /// 类型id、
        /// </summary>
        [Display(Name = "类型编号")]
        public Guid ProductTypeid { get; set; }

    }
    /// <summary>
    /// 规格
    /// </summary>
    public class ProductTypeSpceOutput : EntityDto<Guid>
    {
        /// <summary>
        /// 规格Id
        /// </summary>
        public Guid SpceId { get; set; }
        /// <summary>
        /// 规格名称
        /// </summary>
        public string SpceName { get; set; }
    }
}
